package com.sy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "用户分页查询时传递的数据模型")
public class UserPageQueryDTO implements Serializable {

    //员工姓名
    @ApiModelProperty(value = "用户姓名",required = false)
    private String name;

    //页码
    @ApiModelProperty(value = "当前页",required = true)
    private int page;

    //每页显示记录数
    @ApiModelProperty(value = "每页展示的数据",required = true)
    private int pageSize;

}
